package com.light.common.enums;

/**
 * 仓库状态枚举
 */
public enum WareStatusEnum {


    CREATED(0, "新建"),
    ASSIGNED(1, "已分配"),
    RECEIVE(2, "正在采购"),
    FINISH(3, "已完成"),
    HASERROR(4, "有异常");

    private int code;
    private String value;

    WareStatusEnum(int code, String value) {
        this.code = code;
        this.value = value;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

}
